package com.iot.manager.data.models;

import com.google.gson.annotations.SerializedName;

public class DeviceStats {
    @SerializedName("totalDevices")
    private int totalDevices;

    @SerializedName("onlineDevices")
    private int onlineDevices;

    @SerializedName("offlineDevices")
    private int offlineDevices;

    @SerializedName("totalDataPoints")
    private long totalDataPoints;

    @SerializedName("lastUpdate")
    private String lastUpdate;

    public int getTotalDevices() {
        return totalDevices;
    }

    public void setTotalDevices(int totalDevices) {
        this.totalDevices = totalDevices;
    }

    public int getOnlineDevices() {
        return onlineDevices;
    }

    public void setOnlineDevices(int onlineDevices) {
        this.onlineDevices = onlineDevices;
    }

    public int getOfflineDevices() {
        return offlineDevices;
    }

    public void setOfflineDevices(int offlineDevices) {
        this.offlineDevices = offlineDevices;
    }

    public long getTotalDataPoints() {
        return totalDataPoints;
    }

    public void setTotalDataPoints(long totalDataPoints) {
        this.totalDataPoints = totalDataPoints;
    }

    public String getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(String lastUpdate) {
        this.lastUpdate = lastUpdate;
    }
} 